package com.rentong.constants;

/**
 * @author ZXY
 * @ClassName: ErrorCodeEnum
 * @Description:
 * @date 2017/10/25 16:39
 */
public enum ErrorCodeEnum {
    login_expire("100", "登录失效，请重新登录"),
    miss_token("101", "缺少token参数");

    private String code;
    private String msg;

    ErrorCodeEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
